<?php
include_once 'ctype/base/baseType.php';

/**
 * Tipo de prueba
 */

class Video extends BaseType{
	var $properties = array(
		"title"			=> "Video",
		"description" 	=> "Video"
	);
	
	var $definition = array(
		"categorias"	=> array(
			"field"		=> "categories",
		
			"properties"	=> array(
				"title"			=> "Categorias",
				"description"	=> "Descripción del campo descripción",
				"multiple"		=> TRUE,
				"category"		=> "categories"	
			)
		
		),		
		"thumbnail"	=> array(
			"field"		=> "imagen",
			"required"		=> TRUE,	
			"properties"	=> array(
				"title"				=> "Imagen",
				"description"		=> "Descripción del campo fichero",
			)
		
		),		
		"archivo"	=> array(
			"field"		=> "upload",
			"required"		=> TRUE,	
			"properties"	=> array(
				"title"				=> "Video",
				"description"		=> "Descripción del video",
				"multiple"			=> TRUE
			)
		
		),
		"descripcion"	=> array(
			"field"		=> "wysiwyg",
		
			"properties"	=> array(
				"title"			=> "Descripción",
				"description"	=> "Descripción del campo descripción",
				"mode"			=> "simple"
			)
		
		)
	);
	
	function Video(){
		parent::BaseType();
	}
}
